<link rel="stylesheet" href="__STATIC__/admin/css/welcome.css?v={:time()}" media="all">
<div class="layuimini-container">
    <div class="layuimini-main" style="padding:0;background:0;">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-row layui-col-space15">
                    <div class="layui-col-md12">
                        <div class="layui-card">
                            {if condition="$userType neq 7"}
                            <div class="layui-card-header"><i class="fa fa-warning icon"></i>数据统计</div>
                            {neq name="userType" value="5"}
                            <div class="layui-card-body">
                                <div class="welcome-module" style="height:auto;">
                                    <div class="layui-row layui-col-space10">
                                        {if condition="$userType eq 3 or $userType eq 6"}
                                        <div class="layui-col-sm3">
                                            <div class="panel layui-bg-number layui-bg-cyan">
                                                <div class="panel-body">
                                                    <div class="panel-content">
                                                        <h3 class="no-margins">{$countArr['visit_total']}</h3>
                                                    </div>
                                                    <div class="panel-title">
                                                        <h2>总访问量</h2>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-sm3">
                                            <div class="panel layui-bg-number layui-bg-cyan">
                                                <div class="panel-body">
                                                    <div class="panel-content">
                                                        <h3 class="no-margins">{$countArr['visit_num']}</h3>
                                                    </div>
                                                    <div class="panel-title">
                                                        <h2>总访问户数</h2>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-sm3">
                                            {if condition="$userType eq 3 or $userType eq 6"}
                                            <a style="cursor: pointer" layuimini-content-href="/admin/xwql.hnzj/index.html" data-title="惠农资金管理">
                                                {/if}
                                                <div class="panel layui-bg-number layui-bg-cyan">
                                                    <div class="panel-body">
                                                        <div class="panel-content">
                                                            <h3 class="no-margins">{$countArr['hnzj_count']}</h3>
                                                        </div>
                                                        <div class="panel-title">
                                                            <h2>惠农资金</h2>
                                                        </div>
                                                    </div>
                                                </div>
                                                {if condition="$userType eq 3 or $userType eq 6"}
                                            </a>
                                            {/if}
                                        </div>
                                        <div class="layui-col-sm3">
                                            {if condition="$userType eq 3 or $userType eq 6"}
                                            <a style="cursor: pointer" layuimini-content-href="/admin/xwql.xwql/index.html" data-title="权利清单管理">
                                                {/if}
                                            <div class="panel layui-bg-number layui-bg-cyan">
                                                <div class="panel-body">
                                                    <div class="panel-content">
                                                        <h3 class="no-margins">{$countArr['xwql_count']}</h3>
                                                    </div>
                                                    <div class="panel-title">
                                                        <h2>小微权力</h2>
                                                    </div>
                                                </div>
                                            </div>
                                                {if condition="$userType eq 3 or $userType eq 6"}
                                            </a>
                                            {/if}
                                        </div>
                                        <div class="layui-col-sm3">
                                            {if condition="$userType eq 3 or $userType eq 6"}
                                            <a style="cursor: pointer" layuimini-content-href="/admin/xwql.publicity/index.html" data-title="公示公开管理">
                                                {/if}
                                            <div class="panel layui-bg-number layui-bg-cyan">
                                                <div class="panel-body">
                                                    <div class="panel-content">
                                                        <h3 class="no-margins">{$countArr['gsgk_count']}</h3>
                                                    </div>
                                                    <div class="panel-title">
                                                        <h2>公示公开</h2>
                                                    </div>
                                                </div>
                                            </div>
                                                {if condition="$userType eq 3 or $userType eq 6"}
                                            </a>
                                            {/if}
                                        </div>
                                        <div class="layui-col-sm3">
                                            {if condition="$userType eq 3 or $userType eq 6 or $userType eq 5"}
                                            <a style="cursor: pointer" layuimini-content-href="/admin/consult.message/index.html" data-title="留言管理">
                                                {/if}
                                            <div class="panel layui-bg-number layui-bg-cyan">
                                                <div class="panel-body">
                                                    <div class="panel-content">
                                                        <h3 class="no-margins">{$countArr['mes_count']}</h3>
                                                    </div>
                                                    <div class="panel-title">
                                                        <h2>留言</h2>
                                                    </div>
                                                </div>
                                            </div>
                                                {if condition="$userType eq 3 or $userType eq 6 or $userType eq 5"}
                                            </a>
                                            {/if}
                                        </div>
                                        {/if}
                                        <div class="layui-col-sm3">
                                            {if condition="$userType eq 3 or $userType eq 6"}
                                            <a style="cursor: pointer" layuimini-content-href="/admin/consult.work/index.html?type=1" data-title="办事管理">
                                                {/if}
                                                {if condition="$userType eq 4"}
                                            <a style="cursor: pointer" layuimini-content-href="/admin/village.work/index.html?type=1" data-title="办事管理">
                                                {/if}
                                                {if condition="$userType eq 2"}
                                            <a style="cursor: pointer" layuimini-content-href="/admin/jiwei.work/index.html?type=1" data-title="办事管理">
                                                {/if}
                                                <div class="panel layui-bg-number layui-bg-orange">
                                                    <div class="panel-body">
                                                        <div class="panel-content">
                                                            <h3 class="no-margins">{$countArr['wait']}</h3>
                                                        </div>
                                                        <div class="panel-title">
                                                            <h2>待办办件</h2>
                                                        </div>
                                                    </div>
                                                </div>
                                                {if condition="$userType eq 3 or $userType eq 6 or $userType eq 2 or $userType eq 4"}
                                            </a>
                                            {/if}
                                        </div>
                                        <div class="layui-col-sm3">
                                            {if condition="$userType eq 3 or $userType eq 6"}
                                            <a style="cursor: pointer" layuimini-content-href="/admin/consult.work/index.html?type=2" data-title="办事管理">
                                                {/if}
                                                {if condition="$userType eq 4"}
                                                <a style="cursor: pointer" layuimini-content-href="/admin/village.work/index.html?type=2" data-title="办事管理">
                                                    {/if}
                                                    {if condition="$userType eq 2"}
                                                    <a style="cursor: pointer" layuimini-content-href="/admin/jiwei.work/index.html?type=2" data-title="办事管理">
                                                        {/if}
                                            <div class="panel layui-bg-number layui-bg-red">
                                                <div class="panel-body">
                                                    <div class="panel-content">
                                                        <h3 class="no-margins">{$countArr['outtime']}</h3>
                                                    </div>
                                                    <div class="panel-title">
                                                        <h2>超时办件</h2>
                                                    </div>
                                                </div>
                                            </div>
                                                        {if condition="$userType eq 3 or $userType eq 6 or $userType eq 2 or $userType eq 4"}
                                            </a>
                                            {/if}
                                        </div>
                                        <div class="layui-col-sm3">
                                            {if condition="$userType eq 3 or $userType eq 6"}
                                            <a style="cursor: pointer" layuimini-content-href="/admin/consult.work/index.html?type=3" data-title="办事管理">
                                                {/if}
                                                {if condition="$userType eq 4"}
                                                <a style="cursor: pointer" layuimini-content-href="/admin/village.work/index.html?type=3" data-title="办事管理">
                                                    {/if}
                                                    {if condition="$userType eq 2"}
                                                    <a style="cursor: pointer" layuimini-content-href="/admin/jiwei.work/index.html?type=3" data-title="办事管理">
                                                        {/if}
                                            <div class="panel layui-bg-number layui-bg-blue">
                                                <div class="panel-body">
                                                    <div class="panel-content">
                                                        <h3 class="no-margins">{$countArr['deal']}</h3>
                                                    </div>
                                                    <div class="panel-title">
                                                        <h2>办理中办件</h2>
                                                    </div>
                                                </div>
                                            </div>
                                                        {if condition="$userType eq 3 or $userType eq 6 or $userType eq 2 or $userType eq 4"}
                                            </a>
                                            {/if}
                                        </div>
                                        <div class="layui-col-sm3">
                                            {if condition="$userType eq 3 or $userType eq 6"}
                                            <a style="cursor: pointer" layuimini-content-href="/admin/consult.work/index.html?type=4" data-title="办事管理">
                                                {/if}
                                                {if condition="$userType eq 4"}
                                                <a style="cursor: pointer" layuimini-content-href="/admin/village.work/index.html?type=4" data-title="办事管理">
                                                    {/if}
                                                    {if condition="$userType eq 2"}
                                                    <a style="cursor: pointer" layuimini-content-href="/admin/jiwei.work/index.html?type=4" data-title="办事管理">
                                                        {/if}
                                            <div class="panel layui-bg-number layui-bg-green">
                                                <div class="panel-body">
                                                    <div class="panel-content">
                                                        <h3 class="no-margins">{$countArr['finish']}</h3>
                                                    </div>
                                                    <div class="panel-title">
                                                        <h2>已完成办件</h2>
                                                    </div>
                                                </div>
                                            </div>
                                                        {if condition="$userType eq 3 or $userType eq 6 or $userType eq 2 or $userType eq 4"}
                                            </a>
                                            {/if}
                                        </div>
                                        {if condition="$userType eq 2"}
                                        <div class="layui-col-sm3">
                                            <div class="panel layui-bg-number layui-bg-cyan">
                                                <div class="panel-body">
                                                    <div class="panel-content">
                                                        <h3 class="no-margins">{$countArr['reviewTotal']}</h3>
                                                    </div>
                                                    <div class="panel-title">
                                                        <h2>县乡联审审核总计</h2>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-sm3">
                                            <div class="panel layui-bg-number layui-bg-orange">
                                                <div class="panel-body">
                                                    <div class="panel-content">
                                                        <h3 class="no-margins">{$countArr['reviewWait']}</h3>
                                                    </div>
                                                    <div class="panel-title">
                                                        <h2>县乡联审待审核</h2>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-sm3">
                                            <div class="panel layui-bg-number layui-bg-blue">
                                                <div class="panel-body">
                                                    <div class="panel-content">
                                                        <h3 class="no-margins">{$countArr['reviewed']}</h3>
                                                    </div>
                                                    <div class="panel-title">
                                                        <h2>县乡联审已审核</h2>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-sm3">
                                            <div class="panel layui-bg-number layui-bg-green">
                                                <div class="panel-body">
                                                    <div class="panel-content">
                                                        <h3 class="no-margins">{$countArr['reviewAdopt']}</h3>
                                                    </div>
                                                    <div class="panel-title">
                                                        <h2>县乡联审审核通过</h2>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-sm3">
                                            <div class="panel layui-bg-number layui-bg-red">
                                                <div class="panel-body">
                                                    <div class="panel-content">
                                                        <h3 class="no-margins">{$countArr['reviewFailed']}</h3>
                                                    </div>
                                                    <div class="panel-title">
                                                        <h2>县乡联审审核未通过</h2>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        {/if}
                                    </div>
                                </div>
                            </div>
                            {else/}
                            <div class="layui-card-body">
                                <div class="welcome-module" style="height:auto;">
                                    <div class="layui-row layui-col-space10">
                                        <div class="layui-col-sm4">
                                            <div class="panel layui-bg-number layui-bg-cyan">
                                                <div class="panel-body">
                                                    <div class="panel-content">
                                                        <h3 class="no-margins">{$messageArr['total']}</h3>
                                                    </div>
                                                    <div class="panel-title">
                                                        <h2>总留言量</h2>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-sm4">
                                            <div class="panel layui-bg-number layui-bg-green">
                                                <div class="panel-body">
                                                    <div class="panel-content">
                                                        <h3 class="no-margins">{$messageArr['nei']}</h3>
                                                    </div>
                                                    <div class="panel-title">
                                                        <h2>业务范围内</h2>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-sm4">
                                            <div class="panel layui-bg-number layui-bg-orange">
                                                <div class="panel-body">
                                                    <div class="panel-content">
                                                        <h3 class="no-margins">{$messageArr['wai']}</h3>
                                                    </div>
                                                    <div class="panel-title">
                                                        <h2>业务范围外</h2>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            {/neq}
                            {/if}
                        </div>
                    </div>
                    <div class="layui-col-md12" {if condition="$area_id eq '0'"}style="display:none;"{/if}>
                        <div class="layui-card">
                            <div class="layui-card-header"><i class="fa fa-line-chart icon"></i>报表统计</div>
                            <div class="layui-card-body">
                                <div id="echarts-records" style="width: 100%;min-height:500px"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-col-md4" style="display:none;">

            </div>
        </div>
    </div>
</div>